package com.newbe.security.mapper;

import com.newbe.security.entity.Permission;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PermissionMapper {

	// 查询所有权限
	@Select(" select * from sys_permission")
	List<Permission> findAllPermission();

}
